<template>
    <my-conn></my-conn>
</template>

<script>
    import MyConn from "./chlidsComp/MyConn";

    export default {
        name: "MyMain",
        props: {
            msg: {type: String, default: "###"},
            title: {type: String, required: true},
            article: {type: Array}
        },
        data() {
            return {
                msg1: 'worrrrri',
                count: 0,
                isShow: true
            }
        },
        components: {
            MyConn
        },
        methods: {
            show() {
                return this.msg + this.msg1;
            },
            changeCount(num) {
                this.count += num;
            },
            change() {
                this.count++;
            },
            tochild() {
                this.$refs.one.changeNum();
                this.$refs.two.changeNum();
            }
        }
    }
</script>

<style scoped>

</style>